T(RN,                     nan,                     nan,          0x0p+0, 0)
T(RN,                     inf,                     inf,          0x0p+0, 0)
T(RN,                  0x1p+0,                  0x0p+0,          0x0p+0, 0)
T(RN,             0x1.ffffp-1,                     nan,          0x0p+0, INVALID)
T(RN,                  0x0p+0,                     nan,          0x0p+0, INVALID)
T(RN,                 -0x0p+0,                     nan,          0x0p+0, INVALID)
T(RN,                    -inf,                     nan,          0x0p+0, INVALID)
// hard cases close to 1
T(RN,    0x1.001f1c62cf304p+0,     0x1.f8d125ff71ccp-6,  -0x1.2d785ap-3, INEXACT)
T(RN,    0x1.00788c223616fp+0,    0x1.f0cb8ee812621p-5,  -0x1.1b0c1ap-2, INEXACT)
T(RN,    0x1.007b7a37c7606p+0,     0x1.f6cb68859ae3p-5,   0x1.280488p-3, INEXACT)
T(RN,    0x1.01d173033243cp+0,    0x1.e7e1b18d99376p-4,  -0x1.1f3d3ep-4, INEXACT)
T(RN,    0x1.01d8f20e90409p+0,    0x1.ebca3eea5cda5p-4,   0x1.648602p-2, INEXACT)
T(RN,    0x1.01ef6122e68bep+0,    0x1.f74df150afc94p-4,   0x1.e79556p-3, INEXACT)
T(RN,    0x1.06822faf07879p+0,    0x1.ccd73cbc4af78p-3,  -0x1.4df79ep-2, INEXACT)
T(RN,    0x1.0691d1ad0b443p+0,    0x1.cefd0e06ac498p-3,  -0x1.3cc436p-5, INEXACT)
T(RN,    0x1.069d65411ec51p+0,    0x1.d0928b08facbap-3,  -0x1.b83338p-3, INEXACT)
T(RN,    0x1.071d6b2713d08p+0,    0x1.e1bc6a6c345fdp-3,  -0x1.74a04ep-3, INEXACT)
T(RN,    0x1.0728405f5140cp+0,    0x1.e328ebe92b32cp-3,   -0x1.ae89ap-3, INEXACT)
T(RN,    0x1.07bd2c5c01bcbp+0,     0x1.f6513c44c131p-3,  -0x1.203932p-2, INEXACT)
T(RN,    0x1.1aae7c452c859p+0,    0x1.cf8d69288e386p-2,   0x1.1b325ap-2, INEXACT)
T(RN,    0x1.1b28436b06aaep+0,    0x1.d398bd2d43449p-2,   -0x1.2cde2p-2, INEXACT)
T(RN,    0x1.1b50764626f1ep+0,     0x1.d4ec67c71794p-2,  -0x1.0c09dap-2, INEXACT)
T(RN,    0x1.1be62d08e369bp+0,    0x1.d9d480059e267p-2,  -0x1.9895f6p-2, INEXACT)
T(RN,    0x1.1deff88faa587p+0,    0x1.ea855ab4631fep-2,   -0x1.4964fp-2, INEXACT)
